/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const tableRouter = {
  path: '/online-editing', // 页面地址
  name: 'OnlineEditing',
  component: Layout, //  侧边栏组件注册
  hidden: true,
  meta: {
    title: '流程创建',
    icon: 'dashboard'
  },
  children: [
    {
      path: '/index',
      name: '在线编辑',
      component: () => import('@/views/online-editing/index'),
      meta: {
        title: '在线编辑',
        icon: 'dashboard'
      }
    },
    {
      path: '/index2',
      name: '模板管理',
      component: () => import('@/views/online-editing/index2'),
      meta: {
        title: '模板管理',
        icon: 'dashboard'
      }
    },
    {
      path: '/index3',
      name: '定义管理',
      component: () => import('@/views/online-editing/index3'),
      meta: {
        title: '定义管理',
        icon: 'dashboard'
      }
    },
    {
      path: '/index4',
      name: '实例管理',
      component: () => import('@/views/online-editing/index4'),
      meta: {
        title: '实例管理',
        icon: 'dashboard'
      }
    },
    {
      path: '/index5',
      name: '部门管理',
      component: () => import('@/views/online-editing/index5'),
      hidden: true,
      meta: {
        title: '部门管理',
        icon: 'dashboard'
      }
    }
  ]
}
export default tableRouter
